<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<fmt:bundle
	basename="br.com.universidade.castelo.branco.resources.ApplicationResources"
	prefix="">

	<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
	</head>

	<body>
		<jsp:include page="/WEB-INF/views/pesquisadesatisfacao/questionario/formularioAdicionaQuestionario.jsp" flush="true"></jsp:include>

		<img src="resources/imagens/pixel_transparente.gif" height="5%"
			width="10%">
			
		<div align="center">

		<fieldset id="fieldsetExibeQuestionarioCadastro">

			<legend id="alinhamentoForm">
				<h3>
					<fmt:message key="consulta.modulo.questionario.titulo"></fmt:message>
				</h3>
			</legend>

			<table class=linhasAlternadas align="center">

				<tr>
					
					<th><fmt:message
							key="consulta.modulo.questionario.campo.titulo"></fmt:message></th>
					<th><fmt:message
							key="consulta.modulo.questionario.campo.pergunta"></fmt:message></th>
					<th><fmt:message
							key="consulta.modulo.questionario.campo.modelo.resposta"></fmt:message></th>
					<th><fmt:message key="consulta.modulo.questionario.campo.ordem.pergunta"></fmt:message></th>

				</tr>

				<div>

					<c:forEach items="${relacionamentos}" var="relacionamentos">

						<tr>
							<td>${relacionamentos.questionario.titulo}</td>
								<td>${relacionamentos.pergunta.descricao}</td>
								<td>${relacionamentos.modeloResposta.descricao}</td>
								<td>${relacionamentos.ordemPergunta}</td>
							</tr>
						</c:forEach>
				</div>
				
				</table>

			
		</fieldset>
	</div>
	</body>
</fmt:bundle>
</html>